package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author wys
 * @version V1.0
 * @date 2025-03-06 17:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("设备上报数据响应模型")
public class DeviceReportsDataVO {

    /**
     * 响应参数名
     */
    @ApiModelProperty(value = "响应参数名")
    private String functionId;

    /**
     * 事件时间
     */
    @ApiModelProperty(value = "事件时间,格式：yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime eventTime;

    /**
     * 响应参数值
     */
    @ApiModelProperty(value = "响应参数值")
    private Object value;
}
